package com.twu.biblioteca.library.item;

abstract public class LibraryItem {
    protected int id;
    protected String name;

    protected LibraryItem(int id, String name) {
        this.id = id;
        this.name = name;
    }

    abstract public void getHeader();

    abstract public void printItem();

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

}
